module.exports = (app) => {
    const BaseService = require('./base')(app);

    return class DemoService extends BaseService {
        /**
         * 根据id 获取对应的项目
         */

       async get({ id }) {
            const [rows, fields] = await app.pool.query('select * from user');
            return rows;
        }
    }
}